package br.ufpe.cin.camid.remote.distribution.invoker;

import br.ufpe.cin.camid.core.objects.ManagedObjectHandler;
import br.ufpe.cin.camid.remote.distribution.protocol.RequestMessage;
import br.ufpe.cin.camid.remote.distribution.protocol.ResponseMessage;

public class InvocationObject 
{
	private final RequestMessage requestMessage;
	
	private final ResponseMessage responseMessage;
	
	private final ManagedObjectHandler handler;
	
	public InvocationObject(RequestMessage request, ResponseMessage response, ManagedObjectHandler handler)
	{
		this.requestMessage = request;
		this.responseMessage = response;
		this.handler = handler;
	}

	public RequestMessage getRequestMessage() {
		return requestMessage;
	}

	public ResponseMessage getResponseMessage() {
		return responseMessage;
	}

	public ManagedObjectHandler getHandler() {
		return handler;
	}
	
	
	
}
